<div id="cms_postings_container" >

<?
	$documentCode = extractNumberWithKeyFromArray('documentCode', $_REQUEST);
	
	if (!is_null($documentCode)) {
		$document = $cmsDocument->openDocument($documentCode);
		
		if (!is_null($document) && $document->formid == 158) {
			$documentTitle = magicClean($document->title);
			$documentContent = magicClean($document->content);
			print <<< EOD
<H1 class="cms_heading">$documentTitle </H1>
$documentContent
EOD;
		} else {
			echo "FILE NOT FOUND";
		}
	}
	$upUrl = $_SERVER['PHP_SELF'] . '?fileNo=1&formid=158&folder=' . $document->categorycode;
?>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
	<TR> 
	  <TD align="left" colSpan="2"><IMG height="7" src="/cms/images/greyline.gif" width="100%" /></TD>
	</TR>
	<TR> 
	  <TD class="cms_browsetext" width="35"><a href="<?= $upUrl ?>"><img src="/cms/html/files/images/icon_folderup.gif" width="35" height="20" /></a></TD>
	  <TD class="cms_browsetext" ><a href="<?= $upUrl ?>"><i>.. Back to page list.</i></a></TD>
	</tr>
	<TR> 
	  <TD align="left" colSpan="2"><IMG height="7" src="/cms/images/greyline.gif" width="100%" /></TD>
	</TR>            
</table>
</div>